package com.atguigu.dao;

import com.atguigu.pojo.Address;
import com.github.pagehelper.Page;

import java.util.List;

/**
 * @author Eric
 * @Create 2020-09-24  13:56
 * @Version project-workspace-0912
 **/
public interface AddressDao {
    List<Address> findAll();

    Page<Address> findPage(String queryString);

    void addAddress(Address address);

    void deleteById(Integer id);
}
